<template>
  <div class="import">
    <el-card>
      <h3>员工导入</h3>
      <el-alert
        title="每次导入仅可添加1000名员工，姓名、手机、入职时间、聘用形式为必填项"
        type="warning"
        show-icon
        :closable="false"
      />
      <ReadExcel :before-upload="beforeUpload" :on-success="onSuccess" />
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'Import',

  methods: {
    beforeUpload(file) {},
    async onSuccess({ header, results }) {}
  }
}
</script>

<style lang="scss" scoped>
.import {
  text-align: center;
  padding: 20px;
}
</style>
